package com.css.fxfzxczh.modules.disasterSituationDataManage.emergencyReport.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.css.fxfzxczh.base.attachment.entity.AttachmentInfoEntity;
import com.css.fxfzxczh.modules.util.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author: zhangSongRui
 * @CreateTime: 2023/01/30
 * @Description: 灾情急报实体
 */
@Data
@ExcelTarget("EmergencyReport")
public class EmergencyReportVO extends BaseEntity {
    //id
    private String xderId;
    //地震事件管理id
    @Excel(name = "地震事件编号", width = 25, orderNum = "1")
    private String xsemId;
    //省
    @Excel(name = "省", width = 25, orderNum = "3")
    private String province;
    //市
    @Excel(name = "市", width = 25, orderNum = "4")
    private String city;
    //县
    @Excel(name = "县", width = 25, orderNum = "5")
    private String county;
    //详细地址
    @Excel(name = "详细地址", width = 25, orderNum = "6")
    private String detailAddress;
    //经度
    @Excel(name = "经度", width = 25, orderNum = "7")
    private BigDecimal longitude;
    //纬度
    @Excel(name = "纬度", width = 25, orderNum = "8")
    private BigDecimal latitude;
    //灾情编号
    @Excel(name = "灾情编号", width = 25, orderNum = "2")
    private String disasterCode;
    //灾情点名称
    @Excel(name = "灾情点名称", width = 25, orderNum = "9")
    private String siteName;
    //伤亡人数
    @Excel(name = "伤亡人数", width = 25, orderNum = "11")
    private Integer death;
    //埋压/被困估计人数
    @Excel(name = "埋压/被困估计人数", width = 25, orderNum = "10")
    private Integer peopleTrapped;
    //房屋倒塌
    @Excel(name = "房屋倒塌", width = 25, orderNum = "13")
    private String buildingCollapse;
    //崩塌
    @Excel(name = "崩塌", width = 25, orderNum = "14")
    private String crumble;
    //滑坡
    @Excel(name = "滑坡", width = 25, orderNum = "15")
    private String landslip;
    //道路拥堵/中断
    @Excel(name = "道路拥堵/中断", width = 25, orderNum = "16")
    private String congestionDisruption;
    //火灾
    @Excel(name = "火灾", width = 25, orderNum = "17")
    private String fire;
    //危险品泄漏
    @Excel(name = "危险品泄漏", width = 25, orderNum = "18")
    private String hazardousMaterialLeakage;
    //其他
    @Excel(name = "其他", width = 25, orderNum = "19")
    private String other;
    //具体情况描述
    @Excel(name = "具体情况描述", width = 25, orderNum = "15")
    private String detailDesc;
    //附件
    private List<AttachmentInfoEntity> enclosurePhoto;
    private List<AttachmentInfoEntity> enclosureVideo;
    private List<AttachmentInfoEntity> enclosureAudio;
    private List<AttachmentInfoEntity> enclosureAlbum;
    //调查员
    @Excel(name = "调查员", width = 25, orderNum = "16")
    private String investigator;
    //调查时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "调查时间", width = 25, orderNum = "17")
    private Date investigationTime;

    //是否提交0未提交,1已提交
    private String submit;
    //0正常1删除
    private String delFlag;
    //灾情类型（1伤亡，2埋压/被困，3房屋倒塌，4崩塌，5滑坡，6道路拥堵/中断，7火灾，8危险品泄露，9其他）
    private String type;

}
